<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Mathieu CARTOIXA (NourY Solutions) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nyp="http://www.nourysolutions.com/salamanca/Project" targetNamespace="http://www.nourysolutions.com/salamanca/Project" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="project">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="platform" maxOccurs="unbounded">
          <xs:complexType>
            <xs:attribute name="name" use="required">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value=".NET 1.0"/>
                  <xs:enumeration value=".NET 1.1"/>
                  <xs:enumeration value=".NET 2.0"/>
                  <xs:enumeration value=".NET 3.0"/>
                  <xs:enumeration value=".NET 3.5"/>
                  <xs:enumeration value=".NET CF 1.0 (Pocket PC 2003)"/>
                  <xs:enumeration value=".NET CF 1.0 (Smartphone 2003)"/>
                  <xs:enumeration value=".NET CF 1.0 (Windows Mobile 5.0 Pocket PC)"/>
                  <xs:enumeration value=".NET CF 1.0 (Windows Mobile 5.0 Smartphone)"/>
                  <xs:enumeration value=".NET CF 2.0 (Pocket PC 2003)"/>
                  <xs:enumeration value=".NET CF 2.0 (Windows CE 5.0)"/>
                  <xs:enumeration value=".NET CF 2.0 (Windows Mobile 5.0 Pocket PC)"/>
                  <xs:enumeration value=".NET CF 2.0 (Windows Mobile 5.0 Smartphone)"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="mode" use="required">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value=".NET"/>
                  <xs:enumeration value=".NET CF"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element ref="nyp:dml"/>
        <xs:element ref="nyp:aml" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="name" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:whiteSpace value="collapse"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="package" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:whiteSpace value="collapse"/>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="namespace" type="xs:anyURI" use="required"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="dml" final="#all">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="sql">
          <xs:complexType>
            <xs:attribute name="provider" use="required">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="Axion"/>
                  <xs:enumeration value="DB2"/>
                  <xs:enumeration value="Derby"/>
                  <xs:enumeration value="Firebird"/>
                  <xs:enumeration value="HSQLDB"/>
                  <xs:enumeration value="Interbase"/>
                  <xs:enumeration value="MaxDB"/>
                  <xs:enumeration value="McKoi"/>
                  <xs:enumeration value="MySql"/>
                  <xs:enumeration value="Oracle"/>
                  <xs:enumeration value="PostgreSQL"/>
                  <xs:enumeration value="SQL Server"/>
                  <xs:enumeration value="Sybase"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="data" minOccurs="0" maxOccurs="3">
          <xs:complexType>
            <xs:attribute name="mode" use="required">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="ADO .NET"/>
                  <xs:enumeration value="Enterprise Library DAAB"/>
                  <xs:enumeration value="Web Services"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="ui" minOccurs="0" maxOccurs="2">
          <xs:complexType>
            <xs:attribute name="mode" use="required">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="Mobile"/>
                  <xs:enumeration value="Forms"/>
                  <xs:enumeration value="Web"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attributeGroup ref="nyp:hrefGroup"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="aml" final="#all">
    <xs:complexType>
      <xs:attributeGroup ref="nyp:hrefGroup"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="hrefGroup">
    <xs:attribute name="href" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:minLength value="1"/>
          <xs:whiteSpace value="collapse"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
</xs:schema>
